package com.item.service;

import com.item.dao.EssenceAuthorCollectMapper;
import com.item.dao.model.EssenceAuthorCollect;
import com.item.dao.model.EssenceAuthorCollectExample;
import com.item.dao.model.EssenceAuthorCollectKey;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EssenceAuthorCollectService {
    @Autowired
    private EssenceAuthorCollectMapper essenceAuthorCollectMapper;

    private static final Logger logger = Logger.getLogger(EssenceAuthorCollectService.class);

    public int countByExample(EssenceAuthorCollectExample example) {
        return this.essenceAuthorCollectMapper.countByExample(example);
    }

    public EssenceAuthorCollect selectByPrimaryKey(EssenceAuthorCollectKey key) {
        return this.essenceAuthorCollectMapper.selectByPrimaryKey(key);
    }

    public List<EssenceAuthorCollect> selectByExample(EssenceAuthorCollectExample example) {
        return this.essenceAuthorCollectMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(EssenceAuthorCollectKey key) {
        return this.essenceAuthorCollectMapper.deleteByPrimaryKey(key);
    }

    public int updateByPrimaryKeySelective(EssenceAuthorCollect record) {
        return this.essenceAuthorCollectMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(EssenceAuthorCollect record) {
        return this.essenceAuthorCollectMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(EssenceAuthorCollectExample example) {
        return this.essenceAuthorCollectMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(EssenceAuthorCollect record, EssenceAuthorCollectExample example) {
        return this.essenceAuthorCollectMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(EssenceAuthorCollect record, EssenceAuthorCollectExample example) {
        return this.essenceAuthorCollectMapper.updateByExample(record, example);
    }

    public int insert(EssenceAuthorCollect record) {
        return this.essenceAuthorCollectMapper.insert(record);
    }

    public int insertSelective(EssenceAuthorCollect record) {
        return this.essenceAuthorCollectMapper.insertSelective(record);
    }
}